<!--
  Author : Arthur
  Date : create on 2018-10-9
  Time : 9:16
 -->
<head th:fragment="common_header_query(links,script)">
    <title>
        <th:block th:text="${title}"/>
        -江苏税务大数据平台
    </title>
    <meta http-equiv="content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0"/>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE,chrome=1"/>
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="-1">


    <link type="text/css" rel="stylesheet"
          th:href="@{${#servletContext.getAttribute('web.static.url')}+'/toastr/toastr.min.css'}"/>
    <link type="text/css" rel="stylesheet" th:href="@{'/web/common/portal.css?'+${#dates.createNow().getTime()}}"/>
    <link rel="shortcut icon" th:href="@{/favicon.ico}" type="image/x-icon">


    <!--公用样式结束-->
    <!--会替换子页面样式-->

    <th:block th:if="${links!=null}">
        <th:block th:replace="${links}"/>
    </th:block>

    <script type="text/javascript"
            th:src="@{${#servletContext.getAttribute('web.static.url')}+'/jquery/jquery-1.12.4.min.js'}"></script>
    <script type="text/javascript"
            th:src="@{${#servletContext.getAttribute('web.static.url')}+'/jquery/jquery.json.min.js'}"></script>
    <script type="text/javascript"
            th:src="@{${#servletContext.getAttribute('web.static.url')}+'/toastr/toastr.min.js'}"></script>
    <script type="text/javascript"
            th:src="@{${#servletContext.getAttribute('web.static.url')}+'/web/common/cssnj.js?'+${#dates.createNow().getTime()}}"></script>
    <script type="text/javascript" th:src="@{'/web/common/portal.js'}"></script>
    <!--公用JS结束-->
    <!--会替换子页面JS-->
    <th:block th:if="${script!=null}">
        <th:block th:replace="${script}"/>
    </th:block>
    <script th:inline="javascript">
        var echarts2_dist_url = [[${#servletContext.getAttribute('web.static.url')}]] + "/echarts2/dist";
        var download_server_url = [[${#servletContext.getAttribute('nginx.fastdfs.url')}]] + "/";
    </script>
</head>

